**************************************************************
*TABLE 8: Change in defensive ownership, 2002 to 2004 (placebo) 
**************************************************************
local mresult "Results/Table8.xls"

set more off

*Change in foreign (baseline)
use "Regressions Data/baseline0204_nown.dta",clear
keep if year==2004
reg dfo orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', replace dec(3) ctitle(foreign OLS) keep(orange gray lemp tfp privatized)


*Change in foreign (JSReg only)
use "Regressions Data/JSCReg0204_nown.dta",clear
keep if year==2004
reg dfo orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', append dec(3) ctitle(foreign OLS) keep(orange gray lemp tfp privatized)


*Change in offshore (baseline)
use "Regressions Data/baseline0204_nown.dta",clear
keep if year==2004
reg doff orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', append dec(3) ctitle(offshore OLS) keep(orange gray lemp tfp privatized)


*Change in offshore (JSReg only)
use "Regressions Data/JSCReg0204_nown.dta",clear
keep if year==2004
*Change in offshore
reg doff orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', append dec(3) ctitle(offshore OLS) keep(orange gray lemp tfp privatized)
